<html>
<head>
<title><?php echo $title_for_layout;?> - Administrador SEC-SAP</title>
<?php 	echo  $this->Html->css(array('reset', 'global'));
		echo $this->Html->script(array('jquery', 'tiny_mce/tiny_mce.js'));
?>
<script type="text/javascript">

tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
	<?php echo $this->Session->flash();?>
	<div class=wrapper>
		<div class=header>
			<div id=logo></div>
			<div id=titulo>Administrador</div>
		</div>

		<div class=menu>
			<ul>
				<li><?php echo $this->Html->link('Usuários', '/users', array('class'=>'menu'));?>
				</li>
				<li><?php echo $this->Html->link('Notícias', '/noticias', array('class'=>'menu'));?>
				</li>
				<li><?php echo $this->Html->link('Assinantes', '/assinantes', array('class'=>'menu'));?>
				</li>
				<li><?php echo $this->Html->link('Paginas', '/paginas', array('class'=>'menu'));?>
				</li>
				<li><?php echo $this->Html->link('Arquivos', '/uploads', array('class'=>'menu'));?>
				</li>
				<li><?php echo $this->Html->link('Menu', '/menus', array('class'=>'menu'));?>
				</li>
				<li><?php echo $this->Html->link('Cidades', '/cidades', array('class'=>'menu'));?>
				</li>
			</ul>
			<div id="clear"></div>
		</div>
		<?php $session->flash(); ?>
		<?php $session->flash('auth'); ?>
		<?php echo $content_for_layout; ?>
		<div class=footer>
			<div id=copyright>© Copyright 2011, Sindicato dos Empregados do
				Comércio de Santo Antônio da Platina, PR</div>
			<div id=gwd>Desenvolvido por GWD Web</div>
			<div id=powered>
				Powered by
				<?php echo $this->Html->link(
				$this->Html->image('cake.power.gif', array('alt'=> __('CakePHP: the rapid development php framework', true), 'border' => '0')),
					'http://www.cakephp.org/',
				array('target' => '_blank', 'escape' => false)
				);
			?></div>
		</div>
	</div>

</body>
</html>
